package DiTie;

public class Subway {
    private String num;
    private String name;
    private String lx;

    public Subway() {
    }

    public Subway(String num, String name, String lx) {
        this.num = num;
        this.name = name;
        this.lx = lx;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLx() {
        return lx;
    }

    public void setLx(String lx) {
        this.lx = lx;
    }

    @Override
    public String toString() {
        return "Subway{" +
                "num='" + num + '\'' +
                ", name='" + name + '\'' +
                ", lx='" + lx + '\'' +
                '}';
    }
}


